/**
 * 
 */
package net.mxox.app.financeweb.action;

import java.util.List;

import net.mxox.app.common.BaseAction;
import net.mxox.app.financeweb.bo.impl.AccountManager;
import net.mxox.app.financeweb.dto.Account;

/**
 * @author mingxing.xumx
 * @create 2009-7-29 下午04:40:26
 */
public class ListAccountAction extends BaseAction {

	private static final long serialVersionUID = 1L;
	
	private AccountManager accountManager;
	
	private List<Account> accountList;

	@Override
	public String execute() throws Exception {
		accountList=accountManager.listAccount();
		return SUCCESS;
	}

	public List<Account> getAccountList() {
		return accountList;
	}
	
	public void setAccountManager(AccountManager accountManager) {
		this.accountManager = accountManager;
	}
}
